package com.gxa.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

@Data
public class UserBak {
    @ApiModelProperty("用户id")
    private Integer id;
    @NotBlank(message="账户不能为空")
    @ApiModelProperty("姓名")
    @TableField("employee_name")
    private String name;

    @ApiModelProperty("路由")
    private List<Routing> routings;
}
